package com.car.service;

import com.car.pojo.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysRoleMapperService {
    List<Role> list(Role role, Integer pageSize, Integer pageNo);

    Integer selectSysUserCount(@Param("role") Role role);

    Integer add(Role role);

    int delete(Integer role_id);
    int update(Role role);

    Role getByid(Integer role_id);
}
